﻿using Abp.Auditing;
using GN.Pay.Application.GatewayApp;
using GN.Pay.Application.GatewayApp.Dto.Output;
using GN.Pay.GatewayWeb.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;

namespace GN.Pay.GatewayWeb.Controllers.PayRoute
{
    /// <summary>
    /// 付款路油
    /// </summary>
    public interface IPayActionRoute : Abp.Dependency.ISingletonDependency
    {
        /// <summary>
        /// 获取通道Id
        /// </summary>
        string ChannelId { get; }

        /// <summary>
        /// 获取是否支持 Wap
        /// </summary>
        bool IsSupportWap { get; }

        /// <summary>
        /// 视图结果
        /// </summary>
        /// <param name="model">模型</param>
        /// <param name="viewResultFactory">视图工厂</param>
        /// <returns></returns>
        ActionResult ViewResult(PayChannelModel model, Func<string,object, ActionResult> viewResultFactory);
    }
}
